<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>用户管理系统</title>
</head>
<body>
	<h1>管理员登陆系统</h1>
	<form action="loginProcess.php" method="post">
		<table>
			<tr>
				<td>用户id:</td>
				<td><input type="text" name="id"></td>
			</tr><br>
			<tr>
				<td>密  &nbsp; 码：</td>
				<td><input type="password" name="password"></td>
			</tr><br>
			
			<tr>
				<td><input type="submit" value="提交"></td>
				<td><input type="reset" value="重新填写"></td>
			</tr>
		</table>
	</form>
	<?php 
		if(!empty($_GET['errno'])){
			if ($_GET['errno']==1) {
			echo "<font color='red' size='3px'>用户id不存在</font>";
			}
			if ($_GET['errno']==2) {
				echo "<font color='red' size='3px'>id或密码错误</font>";
			}
		}
	?><br>
	
	
	
</body>
</html> 


